package com.iraeta.service.basic;

import com.iraeta.entity.TreeNode;
import com.iraeta.entity.basic.HikRegion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.iraeta.entity.basic.type.HikRegionTreeNode;

import java.util.List;

/**
 * <p>
 * 海康的区域表 服务类
 * </p>
 *
 * @author chenbin
 * @since 2024-01-10
 */
public interface IHikRegionService extends IService<HikRegion> {
    public HikRegion getRootHikRegion();
    public HikRegion getHikRegion(String indexCode);
    public void addEditHikRegion(HikRegion hikRegion);
    public void updateHikRegionFromHikIsc() throws Exception;

    /*
    * 返回el-table的树形数据
    * */
    public List<HikRegionTreeNode> getHikRegionTableNode();
    /*
     * 返回el-tree的树形数据
     * */
    public List<TreeNode> getHikRegionTreeNode();
}
